<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改商品</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript">
	
</script>
</head>
<body>
	<input id="categoryId" name="category" value="" style="display: none">
	<div class="shop">
		商品名：<input id="shopName" type="text" name="shop.shopName" value="${sqv.shop.shopName}">
		商品价格：<input type="text" name="shop.shopPrice" value="${sqv.shop.shopPrice}"> 
		商品数量： <input type="text" name="shop.shopCount" value="${sqv.shop.shopCount}">
	</div>
	<c:if test="${category} == 1">
		出版社： <input type="text" name="book.bookPress" value="${sqv.book.bookPress}">
	</c:if>
	<c:if test="${category} == 2">
		衣服颜色： <input type="text" name="clothes.clothesColor" value="${sqv.clothes.clothesColor}">
		衣服品牌： <input type="text" name="clothes.clothesBrand" value="${sqv.clothes.clothesBrand}">
	</c:if>
	<c:if test="${category} == 3">
		生产日期： <input type="date" name="food.foodProdeceDate" value="${sqv.food.foodProdeceDate}">
		有效期： <input type="text" name="food.foodVaild" value="${sqv.food.foodVaild}">
	</c:if>

</body>
</html>